<?php

/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use core\Demo;
use core\tpl\ThinkphpTpl;
use support\view\Raw;
use support\view\Twig;
use support\view\Blade;
use support\view\ThinkPHP;

// 模板引擎配置
// 支持的模板引擎有：
//  php Raw原生模板引擎 和THINKPHP模板引擎
return [
    'handler' => Raw::class,
    'options' => [
        'view_suffix' =>  'php'
    ]
];

/*
return [
    'handler' => ThinkPHP::class,
    'options' => [

        'view_suffix' => 'php',
        'taglib_pre_load' => ThinkphpTpl::class,
        'taglib_build_in' => 'core\tpl\ThinkphpTpl,Cx',
        // 标签库标签开始标记
        'tpl_begin' => '{',
        // 标签库标签结束标记
        'tpl_end'        => '}',
        'default_filter' => '',
        'tpl_cache'      => false
    ]
];*/
